package com.gec.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gec.model.system.ITripItineraryOrder;
import com.gec.model.vo.ITripItineraryOrderVo;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dafei
 * @since 2024-01-23
 */
public interface ITripItineraryOrderService extends IService<ITripItineraryOrder> {

    IPage<ITripItineraryOrder> selectPage(IPage<ITripItineraryOrder> page1, ITripItineraryOrderVo iTripItineraryOrderVo);

    void updateIsPaid(Long id,Integer isPaid);//改为1：已支付 改为2：取消订单

    List<ITripItineraryOrder> getByIsPaid(Long isPaid);

    List<ITripItineraryOrder> getByNewDate(Long userId);

    List<ITripItineraryOrder> getByUserId(Long id);
}
